package com.jiyun.model.information;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zl_service")
@ApiModel(value="ZlService对象", description="")
public class ZlService implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "服务包名字")
    private String name;

    @ApiModelProperty(value = "服务包图片")
    private String photo;

    @ApiModelProperty(value = "服务包等级")
    private String grade;

    @ApiModelProperty(value = "订购价钱")
    private BigDecimal price;

    @ApiModelProperty(value = "服务介绍")
    private String introduce;

    @ApiModelProperty(value = "服务包标签外键，表labe")
    private Integer bid;

    @ApiModelProperty(value = "状态：1使用中、2待审核、3已停用、4已驳回")
    private String status;

    @ApiModelProperty(value = "服务项目外键，表itempm")
    private Integer xid;

    @ApiModelProperty(value = "服务对象")
    private String sObject;

    @ApiModelProperty("签约情况")
    private Integer renewal;

    @ApiModelProperty("签约周期")
    private String cycle;


    @ApiModelProperty("服务包标签")
    @TableField(exist = false)
    private String lname;


    @ApiModelProperty("服务项目")
    @TableField(exist = false)
    private String iname;

    @ApiModelProperty("团队")
    @TableField(exist = false)
    private String tname;



}
